#include <stdint.h>
class CAudioEncProc
{
public:
	CAudioEncProc();
	~CAudioEncProc();
	
	int GetFrame(int ch, unsigned char * buf, int buf_size);
	int Start();
protected:

	static int AudioEncode_THD(void * arg);
private:
	unsigned char * m_pcm_buf;
	unsigned char * m_aac_buf;
};

